<template>
<div>
  <el-button type="primary">Primary</el-button>
  <el-button type="success">Success</el-button>
  <el-button type="info">Info</el-button>
  <el-button type="warning">Warning</el-button>
  <el-button type="danger">Danger</el-button>
  <div>current: {{ current }}</div>
  <CommonTable @cellClick="cellClick" />
</div>
</template>

<script lang="ts" setup>
import { ElButton }  from 'element-plus'
import { ref } from 'vue'
let current = ref('')
const cellClick = (row) => {
  current.value = row.date
}
</script>

<style scoped>

</style>
